package com.molichuxing.exception;

/**
 * @Author: renzhengyu
 * @Description:
 * @Date: Created in 14:17 2019/10/16
 * @Modified By:
 **/
public class StatisticsRedisKey {

    public static final String CACHE_PREFIX="op:statistics:";

    //订单统计
    public static final String ORDER="order:";

    //风险统计
    public static final String RISK="risk:";

    //订阅
    public static final String SUBSCRIBE="subscribe:";

    //专属
    public static final String EXCLUSIVE="exclusive:";


    //订单统计********************************************************************************************************************

    //订阅：昨日
    public static final String SUBSCRIBE_YESTERDAY=CACHE_PREFIX.concat(ORDER).concat(SUBSCRIBE).concat("yesterday");

    //订阅：近七天
    public static final String SUBSCRIBE_NEARLY_SEVEN_DAYS=CACHE_PREFIX.concat(ORDER).concat(SUBSCRIBE).concat("nearly_seven_days");

    //订阅：近三十天
    public static final String SUBSCRIBE_NEARLY_THIRTY_DAYS = CACHE_PREFIX.concat(ORDER).concat(SUBSCRIBE).concat("nearly_thirty_days");

    //专属：昨日
    public static final String EXCLUSIVE_YESTERDAY=CACHE_PREFIX.concat(ORDER).concat(EXCLUSIVE).concat("yesterday");

    //专属：近七天
    public static final String EXCLUSIVE_NEARLY_SEVEN_DAYS=CACHE_PREFIX.concat(ORDER).concat(EXCLUSIVE).concat("nearly_seven_days");

    //专属：近三十天
    public static final String EXCLUSIVE_NEARLY_THIRTY_DAYS = CACHE_PREFIX.concat(ORDER).concat(EXCLUSIVE).concat("nearly_thirty_days");

    //风险统计********************************************************************************************************************


    //订阅超程数量
    public static final String SUBSCRIBE_OVERRIDE = CACHE_PREFIX.concat(RISK).concat(SUBSCRIBE).concat("override_count");


    //专属超程数量
    public static final String EXCLUSIVE_OVERRIDE = CACHE_PREFIX.concat(RISK).concat(EXCLUSIVE).concat("override_count");


    //订阅超时数量
    public static final String SUBSCRIBE_OVERTIME = CACHE_PREFIX.concat(RISK).concat(SUBSCRIBE).concat("overtime_count");


    //专属超时数量
    public static final String EXCLUSIVE_OVERTIME = CACHE_PREFIX.concat(RISK).concat(EXCLUSIVE).concat("overtime_count");


    //逾期未还订单
    public static final String OVERDUE_ORDERS = CACHE_PREFIX.concat(RISK).concat("overdue_orders");

    //车辆信息
    public static final String CAR_INFO = "op:car:info";

}
